From: Florian Müllner Date: Wed, 19 Sep 2012 10:40:32 +0000 (+0200) Subject: Revert "messageTray: Fix summary position in RTL locales" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5803 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c1590d9ed7b964bcd294b9c9bca0f6205f0e77a3;p=gnome-shell.git Revert "messageTray: Fix summary position in RTL locales" This reverts commit e6ba7c6e4054f77570ab62e9e10745df50a43731. The original issue is fixed by Clutter commit 64c7973c7429c. --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 5f6e17f67..30cb6a7e6 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1410,12 +1410,10 @@ const MessageTray = new Lang.Class({ actor.grab_key_focus(); })); global.focus_manager.add_group(this.actor); - let rtl = this.actor.get_text_direction() == Clutter.TextDirection.RTL; this._summary = new St.BoxLayout({ name: 'summary-mode', reactive: true, track_hover: true, - x_align: rtl ? Clutter.ActorAlign.START - : Clutter.ActorAlign.END, + x_align: Clutter.ActorAlign.END, x_expand: true, y_align: Clutter.ActorAlign.CENTER, y_expand: true });